package wedaex.remote.handler;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import wedaex.helper.SessionUtils;
import wedaex.remote.JsonHandler;

public class RemoveContentExtractorHandler extends JsonHandler {

	@Override
	public String handle(HttpServletRequest request, HttpServletResponse response) throws Exception {
		String name = request.getParameter("extractorName");
		SessionUtils.getContentExtractorSet(request).removeExtractor(name);
		return null;
	}

}
